﻿using System;
namespace Gx.Model
{
    [Serializable]
    public partial class UserInfo
    {
        private int _id;
        private string _userlogin;
        private string _userpwd;
        private int _deplevelid;
        private int _levelid;
        private string _username;
        private int _status;
        private DateTime _addtime;
        private DateTime _deltime;
        private DateTime _lastedittime;
        public int ID
        {
            get
            {
                return _id;
            }
            set { _id = value; }
        }
        public string UserLogin
        {
            get
            {
                if (_userlogin == null)
                {
                    return "";
                }
                return _userlogin;
            }
            set { _userlogin = value; }
        }
        public string UserPwd
        {
            get
            {
                if (_userpwd == null)
                {
                    return "";
                }
                return _userpwd;
            }
            set { _userpwd = value; }
        }
        public int DepLevelID
        {
            get
            {
                return _deplevelid;
            }
            set { _deplevelid = value; }
        }
        public int LevelID
        {
            get
            {
                return _levelid;
            }
            set { _levelid = value; }
        }
        public string UserName
        {
            get
            {
                if (_username == null)
                {
                    return "";
                }
                return _username;
            }
            set { _username = value; }
        }
        public int Status
        {
            get
            {
                return _status;
            }
            set { _status = value; }
        }
        public DateTime AddTime
        {
            get
            {
                return _addtime;
            }
            set { _addtime = value; }
        }
        public DateTime DelTime
        {
            get
            {
                return _deltime;
            }
            set { _deltime = value; }
        }
        public DateTime LastEditTime
        {
            get
            {
                return _lastedittime;
            }
            set { _lastedittime = value; }
        }
    }

    public partial class UserInfo {

        public string LevelName { get; set; }
    }
}
